package com.zhuss.bean.vo.product.train;

import java.util.Date;
import com.zhuss.common.*;
/**
 * @description: 车次详情vo
 * @author: zhushanshuo
 * @create: Mon Jan 04 08:55:12 CST 2021
 **/
public class DetailTrainVo extends AbstractVo {

    private Long trainId;     //车次ID

    private Long lineStrategyId;     //线路策略ID

    private Long lineId;     //线路ID

    private String lineName;     //线路名字

    private Integer lineType;     //线路类型

    private Integer rideType;     //乘坐方式  普通、优享

    private Long carId;     //车辆ID

    private String carPlateNo;     //车辆车牌号

    private Long driverId;     //司机ID

    private String driverName;     //司机姓名

    private String driverPhone;     //司机电话

    private String name;     //车次名字

    private Date date;     //车次日期

    private Date startTime;     //发车时间

    private Date endTime;     //预计到达时间

    private String startPointName;     //起点名称

    private String endPointName;     //终点名称

    private Integer status;     //状态  未开通、已开通、已停运

    private Integer peopleQuantity;     //核载人数

    private Long total;     //总库存数

    private Long used;     //已用库存

    private Long price;     //价格, 单位： 分

    private Integer sort;     //顺序

    private String creator;     //创建人

    private Long creatorId;     //创建人ID

    private Date createTime;     //创建时间

    private String modifier;     //修改人

    private Long modifierId;     //修改人ID

    private Date modifyTime;     //修改时间

    private Integer deleted;     //删除，  0 为 不删除

    /**
     * 扩展
     * @return
     */

    private String rideTypeName; //乘坐类型
    private String lineTypeName;//线路类型



    public Long getTrainId() {
        return trainId;
    }

    public void setTrainId(Long trainId) {
        this.trainId = trainId;
	}

    public Long getLineStrategyId() {
        return lineStrategyId;
    }

    public void setLineStrategyId(Long lineStrategyId) {
        this.lineStrategyId = lineStrategyId;
	}

    public Long getLineId() {
        return lineId;
    }

    public void setLineId(Long lineId) {
        this.lineId = lineId;
	}

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
	}

    public Integer getLineType() {
        return lineType;
    }

    public void setLineType(Integer lineType) {
        this.lineType = lineType;
	}

    public Integer getRideType() {
        return rideType;
    }

    public void setRideType(Integer rideType) {
        this.rideType = rideType;
	}

    public Long getCarId() {
        return carId;
    }

    public void setCarId(Long carId) {
        this.carId = carId;
	}

    public String getCarPlateNo() {
        return carPlateNo;
    }

    public void setCarPlateNo(String carPlateNo) {
        this.carPlateNo = carPlateNo;
	}

    public Long getDriverId() {
        return driverId;
    }

    public void setDriverId(Long driverId) {
        this.driverId = driverId;
	}

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
	}

    public String getDriverPhone() {
        return driverPhone;
    }

    public void setDriverPhone(String driverPhone) {
        this.driverPhone = driverPhone;
	}

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
	}

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
	}

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
	}

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
	}

    public String getStartPointName() {
        return startPointName;
    }

    public void setStartPointName(String startPointName) {
        this.startPointName = startPointName;
	}

    public String getEndPointName() {
        return endPointName;
    }

    public void setEndPointName(String endPointName) {
        this.endPointName = endPointName;
	}

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
	}

    public Integer getPeopleQuantity() {
        return peopleQuantity;
    }

    public void setPeopleQuantity(Integer peopleQuantity) {
        this.peopleQuantity = peopleQuantity;
	}

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
	}

    public Long getUsed() {
        return used;
    }

    public void setUsed(Long used) {
        this.used = used;
	}

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
	}

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
	}

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
	}

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
	}

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
	}

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
	}

    public Long getModifierId() {
        return modifierId;
    }

    public void setModifierId(Long modifierId) {
        this.modifierId = modifierId;
	}

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
	}

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
	}

    public String getRideTypeName() {
        rideTypeName = rideTypeName(this.rideType);
        return rideTypeName;
    }

    public void setRideTypeName(String rideTypeName) {
        this.rideTypeName = rideTypeName;
    }

    public String getLineTypeName() {
        lineTypeName = lineTypeName(this.lineType);
        return lineTypeName;
    }

    public void setLineTypeName(String lineTypeName) {
        this.lineTypeName = lineTypeName;
    }

}
